﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MethodWorx.Core.Extensions
{
    public static class ListExtensions
    {
        public static void AddRangeIfNotNull<T>(this List<T> src, IEnumerable<T> range)
        {
            if(range != null)
                src.AddRange(range);
        }
    }
}
